package com.swy.shopgroup.dao;

import com.swy.shopgroup.entity.ShopUser;
import java.util.List;

public interface ShopUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShopUser record);

    ShopUser selectByPrimaryKey(Long id);

    ShopUser selectByName(String name);

    List<ShopUser> selectAll();

    int updateByPrimaryKey(ShopUser record);

    ShopUser login(String name, String pwd);
}